<?php

class Core_Action_Block_Breadcrum extends Action
{
	public function execute($request, $is_concontroller = false, $script = null)
	{

		$breadcrum = Agilet::getVar('breadcrum');
		$data = array(
			'breadcrum' => $breadcrum,
			'count' => count($breadcrum),
			'toolbar' => Agilet::getVar('toolbar'),
			'title' => Agilet::getVar('page-title'),
		);

		$request -> response = View::render($script = 'core/html/block/breadcrum', $data);
	}

}
